package com.zqwh.storemonitor.domain;

import java.util.List;

public class ShopBell {
    private String devSn;
    private String devNum;
    private Boolean online;
    private Double latitude;
    private Double longitude;
    private String addr;
    private String alias;
    private boolean isOutAllow = true;

    private List<MonitorBell> monitors;

    public String getDevSn() {
        return devSn;
    }

    public void setDevSn(String devSn) {
        this.devSn = devSn;
    }

    public String getDevNum() {
        return devNum;
    }

    public void setDevNum(String devNum) {
        this.devNum = devNum;
    }

    public Boolean getOnline() {
        return online;
    }

    public void setOnline(Boolean online) {
        this.online = online;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public boolean isOutAllow() {
        return isOutAllow;
    }

    public void setOutAllow(boolean outAllow) {
        isOutAllow = outAllow;
    }

    public List<MonitorBell> getMonitors() {
        return monitors;
    }

    public void setMonitors(List<MonitorBell> monitors) {
        this.monitors = monitors;
    }

    @Override
    public String toString() {
        return "ShopBell{" +
                "devSn='" + devSn + '\'' +
                ", devNum='" + devNum + '\'' +
                ", online=" + online +
                ", latitude=" + latitude +
                ", longitude=" + longitude +
                ", addr='" + addr + '\'' +
                ", alias='" + alias + '\'' +
                ", isOutAllow=" + isOutAllow +
                ", monitors=" + monitors +
                '}';
    }
}
